package de.dhbw.karlsruhe.picsim.util.impl;

/**
 * Created by IntelliJ IDEA.
 * User: goesen Date:
 * Apr 13, 2010
 * Time: 9:06:09 PM
 */
public final class Lengths {

    public static final int FILE_ADDRESS_LENGTH = 8;

    public static final int OPCODE_LENGTH = 14;

    public static final int PROGRAM_ADDRESS_LENGTH = 13;


    public static final int CALL_GOTO_ARGUMENT_LENGTH = 11;

    public static final int FILE_MEMORY_SIZE = 256;
    public static final int FILE_LENGTH = 8;
    public static final int PC_HIGH_BITS_LENGTHS = 5;
    public static final int BYTE_ORIENTATED_ARGUMENT_LENGTH = 7;
    /**
     * soviele Befehle passen ins Befehlsregister
     */
    public static final int PROGRAM_MEMORY_SIZE = 512;
    /*
      P. 47
         8.11.1
    WDT PERIOD
    The WDT has a nominal time-out period of 18 ms, (with
    no prescaler).
    */
    public static final int WATCHDOG_TIMEOUT_DURATION = 18000;

    private Lengths() {
    }
}
